package request

type CreateEvaluatesReq struct {
	UsersId uint32 `json:"users_id" form:"users_id" binding:"required"`
	GoodsId uint32 `json:"goods_id" form:"goods_id" binding:"required"`
	Comment string `json:"comment" form:"comment" binding:"required"`
}
type QueryEvaluatesReq struct {
	GoodsId uint32 `json:"goods_id" form:"goods_id" binding:"required"`
}
type UpdateEvaluatesReq struct {
	Id      uint32 `json:"id" form:"id" binding:"required"`
	UsersId uint32 `json:"users_id" form:"users_id" binding:"required"`
	GoodsId uint32 `json:"goods_id" form:"goods_id" binding:"required"`
	Comment string `json:"comment" form:"comment" binding:"required"`
}
type DeleteEvaluatesReq struct {
	Id      uint32 `json:"id" form:"id" binding:"required"`
	UsersId uint32 `json:"users_id" form:"users_id" binding:"required"`
	GoodsId uint32 `json:"goods_id" form:"goods_id" binding:"required"`
}
